import axios from "axios"

const baseurl="http://jx.xuzhixiang.top/ap/api"

export const GET=(url,params)=>{
	return axios.get(`${baseurl}${url}`,{params:params}).then(data=>data)
}

export const POST=(url,params)=>{
	return axios.post(`${baseurl}${url}`,params).then(data=>data)
}